package com.example.child_protection.dto.request.update;

import com.example.child_protection.dto.base.BaseUpdateRequestDTO;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 科室修改请求DTO
 * @date 2018-11-1
 * @author Biz
 */
@Getter
@Setter
public class PhysicalExaminationUpdateRequestDTO extends BaseUpdateRequestDTO {

    /**
     * 添加人id
     */
    @ApiParam( value = "添加人id",required = true)
    private Long createPersonId;

    /**
     * 档案ID
     *
     * @mbggenerated
     */
    @ApiParam(value = "档案编号",required = true)
    @NotNull
    private Long archivesId;

    /**
     * 体检时间
     *
     * @mbggenerated
     */
    @ApiParam(value = "体检时间",required = false)
    private Date date;

    /**
     * 体检医生
     *
     * @mbggenerated
     */
    @ApiParam(value = "体检医生",required = false)
    private String doctor;

    /**
     * 体检医生id
     *
     * @mbggenerated
     */
    @ApiParam(value = "体检医生id",required = false)
    private Long doctorId;

    /**
     * 疾病评估
     *
     * @mbggenerated
     */
    @ApiParam(value = "疾病评估",required = false)
    private String diseaseAssessment;

    /**
     * 发育评估
     *
     * @mbggenerated
     */
    @ApiParam(value = "发育评估",required = false)
    private String developmentAssessment;

    /**
     * 体格评估
     *
     * @mbggenerated
     */
    @ApiParam(value = "体格评估",required = false)
    private String physiqueAssessment;

    /**
     * 保健指导
     *
     * @mbggenerated
     */
    @ApiParam(value = "保健指导",required = false)
    private String healthGuidance;

    /**
     * 异常症状体征（缺点）
     *
     * @mbggenerated
     */
    @ApiParam(value = "异常症状体征（缺点）",required = false)
    private String defect;

    /**
     * 反复感染记录
     *
     * @mbggenerated
     */
    @ApiParam(value = "反复感染记录",required = false)
    private String recordOfInfect;

    /**
     * 其他检查
     *
     * @mbggenerated
     */
    @ApiParam(value = "其他检查",required = false)
    private String otherInspect;

    /**
     * 适应性DQ
     *
     * @mbggenerated
     */
    @ApiParam(value = "适应性DQ",required = false)
    private String adaptabilityDq;

    /**
     * 大运动DQ
     *
     * @mbggenerated
     */
    @ApiParam(value = "大运动DQ",required = false)
    private String sportsDq;

    /**
     * 精细动作
     *
     * @mbggenerated
     */
    @ApiParam(value = "精细动作",required = false)
    private String fineAction;

    /**
     * 语言DQ
     *
     * @mbggenerated
     */
    @ApiParam(value = "语言DQ",required = false)
    private String languageDq;

    /**
     * 个人-社会DQ
     *
     * @mbggenerated
     */
    @ApiParam(value = "个人-社会DQ",required = false)
    private String personalDq;

    /**
     * 测试结果
     *
     * @mbggenerated
     */
    @ApiParam(value = "测试结果",required = false)
    private String testResult;
    public void valid(){

        super.validate( this, new Class[0] );
    }
    public boolean isValidGid() {

        return false;
    }

}
